import http from "@utils/request";

interface IClassPage {
    page: number;
    pageSize: number;
    className?: string;
    teachingMethod?: string;
    mainTeacherUsername?: string;
    assistTeacherUsername?: string;
    manageTeacherUsername?: string;
    subjectId?: string;
    status?: string;
}
interface IClassPageData {
    message: string;
    code: string;
    data: object;
}
//班级列表
export const classPage = (data: IClassPage): Promise<IClassPageData> => {
    return http.get<IClassPageData>('/crm/teach/class/page', data)
}